<?php
namespace Catalog\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Attribute
 *
 * @ORM\Table(name="attribute")
 * @ORM\Entity
 */
class Attribute
{

    /**
     *
     * @var integer @ORM\Column(name="attribute_id", type="integer", nullable=false)
     *      @ORM\Id
     *      @ORM\GeneratedValue(strategy="SEQUENCE")
     *      @ORM\SequenceGenerator(sequenceName="attribute_attribute_id_seq", allocationSize=1, initialValue=1)
     */
    private $attributeId;

    /**
     *
     * @var string @ORM\Column(name="type", type="string", length=16, nullable=false)
     */
    private $type;

    /**
     *
     * @return number
     */
    public function getId()
    {
        return $this->attributeId;
    }

    /**
     *
     * @return string
     */
    public function getType()
    {
        return $this->type;
    }
}
